projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
589ac36
)
oops; backwards test
author
parkrrrr
<parkrrrr>
Fri, 18 Nov 2005 19:46:34 +0000
(19:46 +0000)
committer
parkrrrr
<parkrrrr>
Fri, 18 Nov 2005 19:46:34 +0000
(19:46 +0000)
smplrout.c
patch
|
blob
|
history
diff --git
a/smplrout.c
b/smplrout.c
index cd1318ac97a09d1b5be82ba71d5edbe707b307ab..40d2f897d69968e5d0cedb35c58512b73e441e8d 100644
(file)
--- a/
smplrout.c
+++ b/
smplrout.c
@@
-220,7
+220,7
@@
routesimple_tail( const route_head *rte )
xte_recs[i].intermed->xte_rec = xte_recs+i;
}
/* while we still have too many records... */
- while ( (countopt && count < xte_count) || (erroropt &&
error < total
error) ) {
+ while ( (countopt && count < xte_count) || (erroropt &&
totalerror <
error) ) {
i = xte_count - 1;
/* remove the record with the lowest XTE */
if ( erroropt ) {